package alcatraz.common;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author andreas
 */
public interface IAlcatrazServer extends Remote {

  public void register(PlayerData player)
          throws AlcatrazException, RemoteException;

  public void unregister(PlayerData player)
          throws RemoteException;

  public void setName (PlayerData player, String newNameOfPlayer)
          throws AlcatrazException, RemoteException;

  public void setReady (PlayerData player)
          throws AlcatrazException, RemoteException;

  public void startGame (PlayerData player)
          throws AlcatrazException, RemoteException;
}
